#ifndef TVSERVER_H
#define TVSERVER_H

#include <QObject>
#include "qtquick2applicationviewer.h"

class ShNet;

class TvServer : public QObject
{
    Q_OBJECT
public:
    explicit TvServer(QObject *parent = 0);
    
signals:
    
public slots:

private slots:
    void testSlot(int a, const QString &b, bool ok);


private:
    void initSlideshow();
    void initRunningLine();
    void initVideo();
    QtQuick2ApplicationViewer *m_qml;
    ShNet *m_sh;
    QVariantMap m_config;

    Q_INVOKABLE QVariant move(const QVariant &args);
    Q_INVOKABLE QVariant show(const QVariant &args);
    Q_INVOKABLE QVariant save_config(const QVariant &args);

};

#endif // TVSERVER_H
